<?php

/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/3/25
 * Time: 18:31
 */
class Domain_Prize{
  public function getPrize(){
    $Model_Prize=new Model_Prize();
    return $Model_Prize->getPrize();
  }

  /**
   * 获取领奖地址
   */
  public function getAdr($prizeId){
    $Model_Prize=new Model_Prize();
    $adrs= $Model_Prize->getAdr($prizeId);
    return $adrs['adr'];
  }
  /**
   * 获取奖品剩余
   */
  public function getBalance($prizeId){
    $Model_Prize=new Model_Prize();
    $balance=$Model_Prize->getBalance($prizeId);
    return $balance['balance'];
  }
}